package com.generate;

import static org.junit.Assert.fail;

import java.io.IOException;
import java.nio.charset.StandardCharsets;

import org.junit.Test;

import com.generate.library.GenerateUtils;

public class TestSetNumberVariant {

	@Test
	public void test() {
		try {
			String testString = GenerateUtils.setNumberVariant(
					GenerateUtils.readFile("importProduct_baseInfo.template",
							StandardCharsets.UTF_8), 3L);
			testString = GenerateUtils.setNumberImageDetail(testString, 2L);
			System.out.print(testString);
		} catch (IOException e) {
			fail(e.toString());
		}
	}

}
